Skip to content

Conversation

stmontgomery
Copy link
Contributor

@stmontgomery stmontgomery commented Feb 12, 2025

#931 exposed a problem in newer compilers, tracked by swiftlang/swift#79304. I intend to investigate and modify my code after finding a workaround, but revert temporarily for now.

This reverts commit 6a49142.

@stmontgomery stmontgomery added bug 🪲 Something isn't working workaround Workaround for an issue in another component (may need to revert later) labels Feb 12, 2025
@stmontgomery stmontgomery added this to the Swift 6.x milestone Feb 12, 2025
@stmontgomery stmontgomery self-assigned this Feb 12, 2025
@stmontgomery
Copy link
Contributor Author

Caused by #931

@stmontgomery
Copy link
Contributor Author

@swift-ci please test

@glessard glessard merged commit 9998633 into swiftlang:main Feb 12, 2025
2 of 3 checks passed
stmontgomery added a commit to stmontgomery/swift-testing that referenced this pull request Feb 12, 2025
…evert swiftlang#931)

Revert "Merge pull request swiftlang#950 from stmontgomery/revert-issue-severity" (swiftlang#950)

This reverts commit 9998633, reversing
changes made to 55d0023.
stmontgomery added a commit that referenced this pull request Feb 12, 2025
…evert #931) (#952)

This un-reverts #950, effectively reintroducing the changes recently
landed in #931.

The revert was needed because it revealed a latent bug in the Swift
compiler, tracked by swiftlang/swift#79304. I
reproduced that failure and included a workaround in the second commit
on this PR.

### Checklist:

- [x] Code and documentation should follow the style of the [Style
Guide](https://github.com/apple/swift-testing/blob/main/Documentation/StyleGuide.md).
- [x] If public symbols are renamed or modified, DocC references should
be updated.
@grynspan grynspan added the self-reviewed PR was self-reviewed by a code owner label Feb 12, 2025
stmontgomery added a commit that referenced this pull request Feb 12, 2025
…#951)

This modifies `Package.swift` to enable Library Evolution for builds of
the package.

### Motivation:

I recently landed a change (#931) which passed our project-level CI but
later failed in Swift CI. The difference ended up being due to the
latter building with Library Evolution (LE) enabled, whereas our
project-level CI builds via SwiftPM and does not enable LE. The change
was reverted (#950) but this revealed a gap in our testing strategy. We
should always build these targets with LE enabled.

### Checklist:

- [x] Code and documentation should follow the style of the [Style
Guide](https://github.com/apple/swift-testing/blob/main/Documentation/StyleGuide.md).
- [x] If public symbols are renamed or modified, DocC references should
be updated.

Fixes rdar://144655439
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Something isn't working self-reviewed PR was self-reviewed by a code owner workaround Workaround for an issue in another component (may need to revert later)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants